home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
os2
/
modst101.zip
/
MODSTATS.DOC
< prev
next >
Wrap
Text File
|
1997-05-25
|
11KB
|
220 lines
MODEM STATS v1.01
Rewritten for Supra modems by Simon Slater
netmail 2:443/777
e-mail coole@compura.com
-------------------------------------------------------------------------
MODEM STATS is a re-written STGEN for Supra Modems.
MODEM STATS consists of a single DOS EXE file, called via a batch file
with passed parameters and/or environment variables.
Command line options for MODSTATS.EXE are as follows, all options are
required, except the last three.
Usage:
MODSTATS <port> <irq> <node> <esc char> <fossil> </NOXMIT>
port: COM port 1-4, FOSSIL port #, or non-standard base address.
irq: 0=default, or 1-15. Not used in FOSSIL mode, set to 0.
node: Current BBS node #, or 0 if single-node system.
esc char: 0-127, Value of the modem's S2 register, used to put the modem
into command mode. If = 256, then modem uses &D1 setting, and
the door will toggle DTR to enter command mode.
fossil: 0=no FOSSIL, 1=use FOSSIL
/NOXMIT: OPTIONAL; This will reverse the operation of the software from a BBS
DOOR to a mode that can be used with any comm program. This option
prevents the software from trying to display anything out the
modem port. Use this ONLY when calling from a comm program, do
NOT use this option when running as a BBS DOOR!
MODTMP: environment variable, path for report file
ie
SET MODTMP=E:\RA\TXTFILES
Filename for report file is modemrpt.asc
--------------------------------------------------------------------------
SETUP EXAMPLE:
Here is an example of the DOOR batch file used for testing on my PCBoard
system. This batch file is hard-coded for COM2, IRQ3, node 1,
DTR switching, FOSSIL enabled.
You obviously need to change all of this for your own system and setup, making
use of environment variables and/or passed parameters where needed.
(Like the node number on multi-node systems.)
REM ------------------------------
REM TEST BATCH FILE FOR STGEN DOOR
REM ------------------------------
SET MODTMP=E:\RA\TXTFILES\
MODSTATS 2 3 1 43 1
--------------------------------------------------------------------
Using MODSTATS.EXE with RemoteAccess
This is an example of my system. your may slightly differ by most BBS software
should be able to adapt this program for use with other BBS software.
1. Put the All the files into your RA directory.
2. make a entry in your menu where you want to called MODSTATS from.
like so..
╒══════════════════════════════════════════════════════════════ Edit Menu Item ╕
│ │
│ 1 2 3 4 5 6 7 │
│ 123456789012345678901234567890123456789012345678901234567890123456789012345 │
│ ; │
│ │
│ MODSTATS │
│ │
│ Action Goto another menu (Type 1) │
│ Display │
│ OptData │
│ HotKey * │
│ AutoExec No │
│ Colour Colour example │
│ │
│ MinSec 0 TimeUsed 0 FlatCost 0 │
│ MaxSec 0 TimeLeft 0 TimeCost 0 │
│ A flags -------- Age 0 Terminal Any │
│ B flags -------- MinSpeed 0 Nodes │
│ C flags -------- MaxSpeed 0 Groups │
│ D flags -------- Credit 0 DayTimes │
│ │
│ │
╘══════════════════════════════════════════════════════════════════════════════╛
Then create a new menu called MODSTATS like so:
╒════════════════════════════════════════════════════ E:\RA\MENUS\MODSTATS.MNU ╕
│ │***│ Execute │ *C /C e:\ra\modem.bat *M │
│ │***│ Disp CR │ MODSTATS │
│ │***│ Clear/Goto │ MAINMENU │
│ │
╘══════════════════════════════════════════════════════════════════════════════╛
keep these commands in this order.
1.
╒══════════════════════════════════════════════════════════════ Edit Menu Item ╕
│ │
│ 1 2 3 4 5 6 7 │
│ 123456789012345678901234567890123456789012345678901234567890123456789012345 │
│ ; │
│ │
│ *C /C e:\ra\modem.bat *M │
│ │
│ Action Execute sub-program (Type 7) │
│ Display │
│ OptData │
│ HotKey │
│ AutoExec Yes │
│ Colour Colour example │
│ │
╘══════════════════════════════════════════════════════════════════════════════╛
The Autoexec is set to yes so that the program is all automated from running the
program and then showing the user the report.
2.
╒══════════════════════════════════════════════════════════════ Edit Menu Item ╕
│ │
│ 1 2 3 4 5 6 7 │
│ 123456789012345678901234567890123456789012345678901234567890123456789012345 │
│ ; │
│ │
│ MODSTATS │
│ │
│ Action Display .ANS/.ASC with CR pause at end (Type 45) │
│ Display │
│ OptData │
│ HotKey │
│ AutoExec Yes │
│ Colour Colour example │
│ │
╘══════════════════════════════════════════════════════════════════════════════╛
The last command is used to return to the last menu
╒══════════════════════════════════════════════════════════════ Edit Menu Item ╕
│ │
│ 1 2 3 4 5 6 7 │
│ 123456789012345678901234567890123456789012345678901234567890123456789012345 │
│ ; │
│ │
│ MAINMENU │
│ │
│ Action Clear gosubs & goto menu (Type 4) │
│ Display │
│ OptData │
│ HotKey │
│ AutoExec Yes │
│ Colour Colour example │
│ │
╘══════════════════════════════════════════════════════════════════════════════╛
NOTE: The MODSTATS.MNU for RA is included in the archive.
OK now for the BATCH file.
*/ (MODEM.BAT)
@echo off
del e:\ra\txtfiles\modstats.* (deletes and old reports first)
SET MODTMP=E:\RA\TXTFILES\ (sets the directory for the report)
MODSTATS 2 3 1 43 1 (com2, irq3, node1, esc43 (+), use fossil)
CD \RA\TXTFILES\ (Now change to RA txtfiles directories)
MODSTANS (convert modstas.asc to an ansi screen
(using ASC2ANS.EXE)
CD \RA (change back to RA directory)
/*
MODSTANS is included in the MODSTANS.RAR Archive
Well thats about it..
The REPORT.TXT shows exactly what the report is like.
NOTE to Other Rockwell users.
MODSTATS is purely for Supra Modems due to the commands given by the
MODSTATS executable.
If there is any commands that you need changed or added please netmail me
and I'll do the necessary and send you a revised copy.
-------------------------------------------------------------------------
My thanks go to all users that tested this program to the full on my BBS.
Also many thanks to the author of:
STGEN V1.08 - 12/30/95
Written by Joseph C. Frankiewicz
The Majestik Moose BBS 708-843-2871
Released to the public domain.
and the STGEN.BAS file!!!!
STGEN is a generic "Door" version of USRSTATS that should work with
*or without* a FOSSIL driver, with DTR *or escape character* switching,
at speeds up to 115.2K, under virtually any BBS *OR COMM* package,
automatically multi-node-aware.
And also the really nice ansi creator MODSTANS created by Hans A. Mahal
Thanks Hans!
[EOF]